package bridge;

/**
 * @Author liangliangzhao
 * @data 2023/3/29 17:38
 */

public class Client {
    public static void main(String[] args) {
        // 获取折叠式手机(样式 + 品牌)
        FoldedPhone foldedPhone = new FoldedPhone(new Vivo());
        foldedPhone.open();
        foldedPhone.close();
        foldedPhone.call();
        System.out.println("==================================");
        UpRightPhone upRightPhone = new UpRightPhone(new XiaoMi());
        upRightPhone.open();
        upRightPhone.close();
        upRightPhone.call();
    }
}
